package com.ctg.itrdc.sysmgr.portal.data.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Component;

import com.ctg.itrdc.pasp.data.dao.BaseDao;
import com.ctg.itrdc.sysmgr.portal.data.ICommonRegionDao;
import com.ctg.itrdc.sysmgr.portal.data.entity.CommonRegion;

@Component("commonRegionDao")
public class CommonRegionDaoImpl extends BaseDao<CommonRegion, Long> implements ICommonRegionDao {

	
	public List<CommonRegion> selectSubRegion(CommonRegion entity) {
		Map<String,Object> model = new HashMap<String,Object>(1);
		model.put("entity", entity);
		return super.queryBySqlId("selectSubRegion", model);
	}
}